To ensure the recent kexec_load API has a feature gate.
Signed-off-by: Colin Walters <walters@verbum.org>
v2023_1 = ["v2022_7", "ffi/v2023_1"]
v2023_8 = ["v2023_1", "ffi/v2023_8"]
v2023_11 = ["v2023_8", "ffi/v2023_11"]
+v2025_1 = ["v2023_11", "ffi/v2025_1"]
}
}
+ #[cfg(feature = "v2025_1")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_1")))]
#[doc(alias = "ostree_sysroot_deployment_kexec_load")]
pub fn deployment_kexec_load(&self, deployment: &Deployment, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
unsafe {
Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 1ceef435b152)
+from gir-files (@ 533c8b9281ba)
v2023_1 = ["v2022_7"]
v2023_8 = ["v2023_1"]
v2023_11 = ["v2023_8"]
+v2025_1 = ["v2023_11"]
[lib]
name = "ostree_sys"
[package.metadata.system-deps.ostree_1.v2023_11]
version = "2023.11"
+
+[package.metadata.system-deps.ostree_1.v2025_1]
+version = "2025.1"
Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 1ceef435b152)
+from gir-files (@ 533c8b9281ba)
cancellable: *mut gio::GCancellable,
error: *mut *mut glib::GError,
) -> gboolean;
+ #[cfg(feature = "v2025_1")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "v2025_1")))]
pub fn ostree_sysroot_deployment_kexec_load(
self_: *mut OstreeSysroot,
deployment: *mut OstreeDeployment,